package com.sdy.hospitalguard.biz.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 后台用户表:manager
 * </p>
 *
 * @author zzq
 * @since 2020-05-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Manager extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId
    private Integer id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 账号/手机号
     */
    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 状态  0:有效 1:无效(禁用)
     */
    private Integer state;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 病区id
     */
    private Integer inpatientAreaId;

}
